package mn.idax.exchange.otc.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import mn.idax.exchange.common.bean.IdaxBase;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * Create by jack_huang on 2018/11/29
 */
@Data
public class AdMarketPrice extends IdaxBase{
    private static final long serialVersionUID = 8903320449940325194L;

    //币种名称
    @ApiModelProperty(value = "币种名称(BTC、ETH、USDT、EOS)")
    @NotEmpty(message = "{ad.pairname.notempty}")
    private String pairname;

    //法币单位
    @ApiModelProperty(value = "法币单位(CNY,...)")
    private String unit;
}
